package com.kmg.scart.model;

public class Address extends ApplicationEntity{

	private String city;
	
	private long zip;
	
	private long phoneNo;
	
	private AddressType addressType;

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public long getZip() {
		return zip;
	}

	public void setZip(long zip) {
		this.zip = zip;
	}

	public long getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(long phoneNo) {
		this.phoneNo = phoneNo;
	}

	public AddressType getAddressType() {
		return addressType;
	}

	public void setAddressType(AddressType addressType) {
		this.addressType = addressType;
	}

	@Override
	public Long getId() {
		return id;
	}

	@Override
	public void setId(Long id) {
		this.id=id;
		
	}

	@Override
	public String toString() {
		return "Address [city=" + city + ", zip=" + zip + ", phoneNo="
				+ phoneNo + ", addressType=" + addressType + ", id=" + id + "]";
	}
	
}
